What is booming blade vs green flame blade?

Booming Blade and Green Flame Blade are two popular cantrips in Dungeons and Dragons 5th Edition that are often used by spellcasting melee classes, such as Eldritch Knights and Hexblades.

Booming Blade: This spell allows you to make a melee attack with a weapon and add extra thunder damage to the attack. If the target moves before the start of your next turn, it will take additional thunder damage. This cantrip is most effective against enemies who like to move around a lot, as it punishes them for doing so.

Green Flame Blade: This spell allows you to make a melee attack with a weapon and add extra fire damage. If there is a target within 5ft of your original target, it will also take fire damage. This cantrip is most effective when you are fighting multiple enemies grouped together, as it allows you to hit more than one target with a single attack.

Ultimately, the choice between Booming Blade and Green Flame Blade depends on the situation you find yourself in. If you're fighting a single enemy who likes to move around, Booming Blade will be your best bet. However, if you're fighting a group of enemies, or there is a second enemy within 5ft of your original target, Green Flame Blade will be the more effective option.